// noinspection ES6CheckImport

import Vue from 'vue'
import App from './App.vue'
import router from './router'
//引入ElementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'

import axios from 'axios'
import VueAxios from 'vue-axios'

axios.defaults.baseURI='/api'
Vue.prototype.$axios = axios
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(VueAxios,axios)

new Vue({
  el:'#app',
  router,
  axios,
  render: h => h(App)
})
